import { createApp } from 'vue'
import App from './App.vue'

import router from './router'

import axios from 'axios'

import {createPinia} from 'pinia'

import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

//引入样式
import 'bootstrap/dist/css/bootstrap.min.css'

let pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

axios.defaults.baseURL = 'http://localhost:8080'

//挂载路由
//挂载pinia
createApp(App).use(pinia).use(router).mount('#app')
